package com.yycx.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yycx.common.mybatis.annotation.TableAlias;
import com.yycx.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 账务表
 *
 * @author flyme
 * @date 2021-01-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_finance")
@TableAlias("finance")
@ApiModel(value="BusFinance对象", description="账务表")
public class BusFinance extends AbstractEntity {

private static final long serialVersionUID=1L;

    @TableId(value = "financeId", type = IdType.ASSIGN_ID)
    private Long financeId;

    @ApiModelProperty(value = "年月")
    private String financeMonth;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @ApiModelProperty(value = "部门Id")
    private Long deptId;

    @ApiModelProperty(value = "业务员")
    private Long saleManId;

    private Long companyId;

    private Integer importData;

    private Integer financeType;

    private BigDecimal saleAmount;

    private BigDecimal returnAmount;

    private BigDecimal returnAmount1;

    private BigDecimal debtAmount;

    private BigDecimal customBondAmount;

    private BigDecimal customBondReturnAmount;

    private BigDecimal settleAbleAmount;

    private BigDecimal settleRealAmount;

    private BigDecimal settleAbleAmount1;

    private BigDecimal settleRealAmount1;

    private BigDecimal noSettleAmount;

    private String remark;

    @ApiModelProperty(value = "状态")
    private Integer  financeState;

}
